package com.tbq.game.service.activity.start

import com.tbq.game.service.app.mvp.BasePresenter
import com.tbq.game.service.dao.UserDao
import com.tbq.game.service.http.OnHttpListener
import com.yanzhenjie.kalle.simple.SimpleResponse

open class StartPresenter(var startView: StartView) : BasePresenter<StartView>() {


    fun getInfo() {
        UserDao.updateVersion(object : OnHttpListener<String> {
            override fun onSuccess(response: SimpleResponse<String, String>?, data: String?) {
                startView.onSuccessVersion(data)
            }

        })

    }
}